﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="MatchesDate.aspx.vb" Inherits="prototype.MatchesDate" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
    </p>
    <p>
        <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
            DataSourceID="SqlDataSource1" Height="50px" Width="125px">
            <Fields>
                <asp:BoundField DataField="HomeTeam" HeaderText="HomeTeam" 
                    SortExpression="HomeTeam" />
                <asp:BoundField DataField="AwayTeam" HeaderText="AwayTeam" 
                    SortExpression="AwayTeam" />
                <asp:BoundField DataField="Venue" HeaderText="Venue" SortExpression="Venue" />
                <asp:BoundField DataField="MatchDate" HeaderText="MatchDate" 
                    SortExpression="MatchDate" />
                <asp:BoundField DataField="MatchTime" HeaderText="MatchTime" 
                    SortExpression="MatchTime" />
                <asp:BoundField DataField="AddedBy" HeaderText="AddedBy" 
                    SortExpression="AddedBy" />
                <asp:BoundField DataField="AddedDate" HeaderText="AddedDate" 
                    SortExpression="AddedDate" />
            </Fields>
        </asp:DetailsView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:PlayersConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:PlayersConnectionString.ProviderName %>" 
            SelectCommand="SELECT [HomeTeam], [AwayTeam], [Venue], [MatchDate], [MatchTime], [AddedBy], [AddedDate] FROM [Matches] ORDER BY [MatchDate]">
        </asp:SqlDataSource>
    </p>
    <p>
    </p>
</asp:Content>
